
 
 	
						***************************
						** Analysing the results **
						***************************	
						
						*********************** 
						** VARIABLE: all of them one by one
						***********************
	
	clear
	version 16.1
	set seed 1234
	 
	 cd "~/eba_vtre/"
	 
	use eba_vtre_65.dta
	
	gen x="y1919_1994"
	
		** dropping unnecessary variables **
		
			drop if _id==.
	
		** 1.1. regressions calculated
	
			codebook _id
		
		** 1.3. Mean of Coef, SE, min, max    **
		 
			sum coef if var==x
		
		** 1.4.  %(significant != 0)  **
 
			count if var==x &   pval<=.05 & pval~=.
	 	
		** 1.5. %(beta < 0)  
		 
			count if var==x & coef<0 & coef~=.

		** 1.5. %(beta > 0)  
		 
			count if var==x & coef>0 & coef~=.
				
		** 1.6.  %(signif & beta <= 0)  
				
			count if var==x &  	pval<=.05 &	coef<=0 
		
		** 1.7.  %(signif & beta > 0)  
				
			count if var==x &  	pval<=.05 &	coef>0 

		** 1.8 Sala-i-Martin's Extreme Bounds Analysis (EBA):
				 	  
 		cumul coef if var==x, gen(cdf) equal
		sort coef
		browse coef cdf  if cdf~=.	
 
	 
							 
